﻿class Missile extends MovieClip
{
	var speed;
	var SCREEN_SIZE = 600;
	function onLoad()
	{
		speed = 20;
	}
	function onEnterFrame()
	{
		_x += speed;
		if(_x > SCREEN_SIZE)
		{
			this.removeMovieClip();
		}
	}	
}